package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色商户关系
 * Created by KGL on 2015/12/3.
 */
@Data
@Table(tableName = "role_merchant_relation")
public class RoleMerchantRelationEntity extends MagicDBEntity<RoleMerchantRelationEntity> implements Serializable {

    private static final long serialVersionUID = -3352600100306373861L;
    @PrimaryKey
    private long id;
    @Column
    private long roleId;
    @Column
    private long merchantId;
    @Column
    private Date createTime;
}
